
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link rel="stylesheet" type="text/css" href="theme/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="theme/default/css/common.css">
<script src="theme/default/Js/Common.js"></script>
<script src="theme/default/Js/jquery-3.0.0.min.js"></script>
<script src="theme/default/js/artDialog.js?skin=blue"></script>
<link rel="stylesheet" type="text/css" href="include/webupload/webuploader.css">
<script src="include/webupload/webuploader.min.js"></script> 
<script src="include/webupload/uploads.js"></script>
<link rel='stylesheet' type="text/css" href='theme/desktop/css/font-awesome.min.css'>
<link rel="stylesheet" type="text/css" href="theme/desktop/css/desktop.css">

</head>
<body>

<script>
//显示
var funxs=function(){
	
var okon = document.getElementsByClassName('okon');
for (i = 0; i <= okon.length; i++) {
    //alert(i)
    if (okon[i].checked) {
        okon[i].parentNode.className = "okon_on";
    } else {
        okon[i].parentNode.className = "okonno";
    }
    okon[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "okon_on";
        } else {
            this.parentNode.className = "okonno";
        }
    }
}	
	
}
//必填	
var funbt=function(){
	
var okon_bt = document.getElementsByClassName('okon_bt');
for (i = 0; i <= okon_bt.length; i++) {
    //alert(i)
    if (okon_bt[i].checked) {
        okon_bt[i].parentNode.className = "okon_on";
    } else {
        okon_bt[i].parentNode.className = "okonno";
    }
    okon_bt[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "okon_on";
        } else {
            this.parentNode.className = "okonno";
        }
    }
}	
	
	
}
//隐藏	
var funyc=function(){
	
var okon_yc = document.getElementsByClassName('okon_yc');
for (i = 0; i <= okon_yc.length; i++) {
    //alert(i)
    if (okon_yc[i].checked) {
        okon_yc[i].parentNode.className = "okon_on";
    } else {
        okon_yc[i].parentNode.className = "okonno";
    }
    okon_yc[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "okon_on";
        } else {
            this.parentNode.className = "okonno";
        }
    }
}	
	
}
//权限	
var funqx=function(){
	
var qxon = document.getElementsByClassName('qxon');
for (i = 0; i <= qxon.length; i++) {
    //alert(i)
    if (qxon[i].checked) {
        qxon[i].parentNode.className = "qxyes";
    } else {
        qxon[i].parentNode.className = "qxno";
    }
    qxon[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "qxyes";
        } else {
            this.parentNode.className = "qxno";
        }
    }
}	
	
	
}
</script>

<script>
	<!-- 必填项提示
	function CheckInput()
	{
		if(document.getElementById('account').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '登录账号不能为空!'});document.getElementById('account').focus();return false;}
		if(document.getElementById('name').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '真实姓名不能为空!'});document.getElementById('name').focus();return false;}
		if(document.getElementById('password').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '登录密码不能为空!'});document.getElementById('password').focus();return false;}
		if(document.getElementById('password').value != document.getElementById('confirmPWS').value){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '两次输入的密码不一样!'});document.getElementById('password').focus();return false;}
		if(document.getElementById('level').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '职位&权限不能为空!'});document.getElementById('level').focus();return false;}
		if(document.getElementById('group').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '所在部门不能为空!'});document.getElementById('group').focus();return false;}
		if(document.getElementById('Mobile').value == ""){art.dialog({title: 'Error',time: 1,icon: 'warning',content: '手机号码不能为空!'});document.getElementById('Mobile').focus();return false;}
	}
	-->
	</script>

<div class="fixed_bg_T">
  <div class="MenuboxS">
    <ul>
      <li ><span><a href="?action=User&stype=Edit&sstype=Main&ID=3">员工档案</a></dd></li>
        <li class="hover"><span><a href="?action=User&stype=Edit&sstype=Manage&ID=3">管理范围</a></dd></li>
        <li ><span><a href="?action=User&stype=Edit&sstype=Level&ID=3">详细权限</a></span></li>
    </ul>
    <div class="clear"></div>
  </div>
</DIV>

<form class="layui-form" name="save" action="?action=User&stype=Edit&sstype=saveManage&LaiLu=" method="post" onSubmit="return CheckInput();">
  <div class="cssout">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" CLASS="table_1">
      <col width="120" />
      <tr class="tr_t">
        <td class="td_l_l" COLSPAN="2"><B>跨部门管理范围 </B></td>
      </tr>
      
      <tr>
        <td class="td_l_r title">总经办</td>
        <td  class="td_l_l">
		

<label>
<input type="checkbox" name="umanagerange" value="超级管理员"  >
超级管理员 </label>  

                                
                                
                                
                                
                                </td>
      </tr>
      
      <tr>
        <td class="td_l_r title">财务部</td>
        <td  class="td_l_l">
		

                                
                                
                                
                                
                                </td>
      </tr>
      
      <tr>
        <td class="td_l_r title">业务一部</td>
        <td  class="td_l_l">
		

<label>
<input type="checkbox" name="umanagerange" value="测试" checked >
测试 </label>  

<label>
<input type="checkbox" name="umanagerange" value="111" checked >
111 </label>  

<label>
<input type="checkbox" name="umanagerange" value="啊" checked >
啊 </label>  

                                
                                
                                
                                
                                </td>
      </tr>
      
      <tr>
        <td class="td_l_r title">业务二部</td>
        <td  class="td_l_l">
		

                                
                                
                                
                                
                                </td>
      </tr>
      
      <tr>
        <td class="td_l_r title">渠道招商部</td>
        <td  class="td_l_l">
		

                                
                                
                                
                                
                                </td>
      </tr>
      
      <tr>
        <td class="td_l_r title">客服部</td>
        <td  class="td_l_l">
		

<label>
<input type="checkbox" name="umanagerange" value="666"  >
666 </label>  

<label>
<input type="checkbox" name="umanagerange" value="596874656"  >
596874656 </label>  

                                
                                
                                
                                
                                </td>
      </tr>
      
                            
    </table>
    
    
    
  </div>
  <div class="h50b"></div>
  <div class="fixed_bg_B">
    <input name="uid" type="hidden" id="uid" value="3">
    <input type="submit" name="Submit" class="btn2 btnbaoc" value="保存">
    <input name="Back" type="button" id="Back" class="btn2 btnguanb" value="关闭" onClick="art.dialog.close();guanbi();">
  </div>
</form>

<script src="theme/default/WdatePicker.js"></script> 
<script src="theme/layui/layui.js"></script> 
<script src="theme/desktop/js/common.js"></script>

<script>
/*弹出窗口封装代码*/
$(".open-app").on("click",function(){
	var width = $(this).data("width")?$(this).data("width"):900,//获得宽度
	height = $(this).data("height")?$(this).data("height"):400//获得高度
	url = $(this).attr("href")//获得打开URL
	title = $(this).attr("title");//获得标题	
	$.dialog.open(url, {title: title, width:width,height:height, fixed: true});
	return false;	
})
</script>

</body>
</html>
